home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Developer CD Series 1994 August: Tool Chest
/
Dev.CD Aug 94.toast
/
Sample Code
/
AOCE Sample Code
/
Interprogram Messaging Manager
/
IPM MessageBoard
/
queues.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-06-23
|
465 b
|
28 lines
|
[
TEXT/MPS
]
/*
Queuing Example
Steve Falkenburg, MacDTS, Apple Computer
3/11/92
*/
#ifndef __QUEUES__
#define __QUEUES__
struct MyQElem {
QElemPtr qLink;
short qType;
IPMQueueRef pmQ;
IPMSeqNum pmSeq;
unsigned char noteType;
};
typedef struct MyQElem MyQElem, *MyQElemPtr;
void InitQueues(void);
MyQElemPtr GetUnusedQBlock(void);
void RecycleFreeQBlock(MyQElemPtr qBlock);
MyQElemPtr GetCompletedQBlock(void);
void StoreCompletedQBlock(MyQElemPtr qBlock);
#endif